//
//  ZYActiveThread.h
//  OC_Principle
//
//  Created by wangzhipan on 2025/2/13.
//  线程保活

#import <Foundation/Foundation.h>

typedef void(^Block_task)(void);

NS_ASSUME_NONNULL_BEGIN

@interface ZYActiveThread : NSObject

/// 在当前子线程执行task
- (void)executeTask:(Block_task)task;

- (void)stop;
@end

NS_ASSUME_NONNULL_END
